package com.ruoyi.subsidy.domain.bo;

import com.ruoyi.common.core.validate.AddGroup;
import com.ruoyi.common.core.validate.EditGroup;
import lombok.Data;
import lombok.EqualsAndHashCode;
import javax.validation.constraints.*;

import java.util.Date;

import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 行政区域业务对象 sys_strative_area
 *
 * @author nbacheng
 * @date 2025-08-07
 */

@Data
@EqualsAndHashCode(callSuper = true)
public class SysStrativeAreaBo extends BaseEntity {

    /**
     * 行政区域村ID
     */
    @NotNull(message = "行政区域村ID不能为空", groups = { EditGroup.class })
    private Long id;

    /**
     * 村名称
     */
    @NotBlank(message = "村名称不能为空", groups = { AddGroup.class, EditGroup.class })
    private String villageName;

    /**
     * 乡名称
     */
    @NotBlank(message = "乡名称不能为空", groups = { AddGroup.class, EditGroup.class })
    private String townName;

    /**
     * 区名称
     */
    @NotBlank(message = "区名称不能为空", groups = { AddGroup.class, EditGroup.class })
    private String departmentName;


}
